<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .yuanxing {
            width: 200px;
            height: 200px;
            background-color: pink;
            /* border-radius: 100px; */
            border-radius: 50%;
        }
        
        .juxing {
            width: 300px;
            height: 100px;
            background-color: pink;
            /* 圆角矩形设置为高度的一半 */
            border-radius: 50px;
        }
        
        .radius {
            width: 200px;
            height: 200px;
            background-color: pink;
            /* border-radius: 10px 20px 30px 40px; */
            /* border-radius: 10px 20px; */
            border-top-left-radius: 10px;
        }
    </style>
</head>

<body>
    <div class="yuanxing">圆形</div>
    矩形圆角边框设置 高度的一半
    <div class="juxing">矩形</div>
    <p>圆角边框设置不同的值</p>
    <div class="radius">不同圆角设置</div>
</body>

</html>